﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ColumnAdd.aspx.cs" Inherits="Gmis.Web.Manage.Village.ColumnAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <%--<script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>--%>
    <%-- <script src="../../Scripts/jquery-1.7.2-vsdoc.js" type="text/javascript"></script>--%>
    <%--<script type="text/javascript" language="javascript">
         $(function () {
             var VillageId = "VillageId";
             var villageId = getQuerystring(VillageId);
             (jQuery(villageId).length > 0)
             {
                 jQuery("#formMain").attr("action", "Village/Column.ashx?Action=Add" + "&VillageId=" + villageId);
             }
         });
         function getQuerystring(key, default_) {
             if (default_ == null) default_ = "";
             key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
             var regex = new RegExp("[\\?&]" + key + "=([^&#]*)");
             var qs = regex.exec(window.location.href);
             if (qs == null)
                 return default_;
             else
                 return qs[1];
         }
     </script> --%>
</head>
<body>    
<div class="pageContent">
    <form method="post" action="Village/Column.ashx?Action=Add&VillageId=<%=VillageId %>" id="formMain"   class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone)">
		<div class="pageFormContent nowrap">
			<dl>
				<dt>名称</dt>
				<dd>
					<input type="text" name="sName" maxlength="20" class="required" />
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>英文名称</dt>
				<dd>
					<input type="text" name="sShort" class="required" alt="名称的拼音"/>
					<span class="info"></span>
				</dd>
			</dl>
		    <dl>
				<dt>父栏目</dt>
				<dd>
					<input type="text" name="sParent" class="" />
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>序号</dt>
				<dd>
					<input type="text" name="nSort" class="" />
					<span class="info"></span>
				</dd>
			</dl>
            <dl>
				<dt>备注</dt>
				<dd>
					<textarea class="editor" name="sComment" rows="10" cols="60" tools="simple">simple(简单)</textarea>
					<span class="info"></span>
				</dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
          
		</div>
	</form>
 </div>
</body>
</html>
